package org.micro.frame.um;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * The UM Provider Application.
 *
 * @author lry
 */
@EnableEurekaClient
@SpringBootApplication
@EnableTransactionManagement //如果mybatis中service实现类中加入事务注解，需要此处添加该注解
@MapperScan("org.micro.frame.um.mapper")
public class UmProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(UmProviderApplication.class, args);
    }

}